OTP\Handler\Forms\RealEstate7 S

Total Complexity 49
Dependencies 8
Dependents 0
Total lines 415
Lines of code 250
Logical lines of code 110
Comment lines 114
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
handle_form()
A
45 7 40
sanitizeAndRouteData()
S
60 6 12
checkIntegrity()
S
56 4 19
send_otp()
S
57 3 18
checkIntegrityAndValidateOTP()
S
57 2 19
processPhone()
S
65 3 8
get_phone_number_selector()
S
70 3 6
processEmail()
S
65 3 8
processEmailAndSendOTP()
S
60 2 14
processPhoneAndSendOTP()
S
60 2 14
processFormAndValidateOTP()
S
60 2 14
handle_form_options()
S
63 2 11
addPhoneFieldScript()
S
53 1 23
checkIfOTPSent()
S
66 2 10
setButtonText()
S
68 2 7
__construct()
S
61 1 12
handle_post_verification()
S
79 1 3
handle_failed_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3
getSessionDetails()
S
71 1 6